/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package httpserverext;

import hxg.http.server.handler.impl.RemoteShellHandler;
import hxg.http.server.HttpServer;
import java.io.IOException;
import org.apache.http.nio.reactor.IOReactorException;

/**
 *
 * @author hstel-hxg
 */
public class HttpServerExt {

    /**
     * @param args the command line arguments
     * @throws org.apache.http.nio.reactor.IOReactorException
     */
    public static void main(String[] args) throws IOReactorException, IOException {
        HttpServer server=new HttpServer();
        server.register("/ssh2", new RemoteShellHandler());
        server.start();
    }
    
}
